package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevelVo> findAll();

    void insert(NursingLevel nursingLevel);

    Page<NursingLevel> page(String name, Integer status);

    void update(NursingLevel nursingLevel);

    NursingLevel findById(Integer id);

    void deleteById(Integer id);

    void setStatus(Integer id, Integer status);
}
